<%@ page import="com.gmono.managers.Common" %><%--
  Created by IntelliJ IDEA.
  User: gaozijian
  Date: 2018/12/31
  Time: 20:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    request.setCharacterEncoding("UTF-8");
//    Common.c.prepareStatement("insert into comment (id, page, content, ip, address, system, browser) values (?,?,?,?,?,?,?);")
    int res= Common.Update("insert into comment (page, content, ip, address, system, browser) values (?,?,?,?,?,?,?)",
            request.getAttribute("page"),
            request.getAttribute("content"),
            request.getAttribute("ip"),
            request.getAttribute("address"),
            request.getAttribute("system"),
            request.getAttribute("browser"));
    out.print(res!=-1);
%>